$fontSize_14: 0.8vw;
$fontSize_16: 0.9vw;
$fontSize_18: 1vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.26vw;
$fontSize_28: 1.3vw;
$fontSize_32: 1.4vw;
$fontSize_36: 1.8vw;
$fontSize_40: 2.1vw;
$fontSize_48: 2.5vw;
$fontSize_50: 2.6vw;
$fontSize_54: 2.7vw;
$fontSize_64: 3.2vw;
$fontSize_70: 3.5vw;
$fontSize_90: 4.5vw;
$fontSize_100: 5vw;
$fontSize_200: 10vw;

.home {
  position: relative;
  width: 100%;

  .main {
    width: 75vw;
    margin: 8vw auto;

    .t {
      color: #000;
      font-size: $fontSize_32;
      font-weight: 700;
      border-bottom: 1px solid #000;
      padding-bottom: 1.5vw;
    }

    .content {
      width: 90%;
      margin: 3vw auto;
      line-height: 1.8;
      font-size: $fontSize_22;

      img {
        max-width: 100%;
      }

      p {
        margin-top: 15px;
      }
    }

    .pager {
      border-top: 1px solid #C5C5C5;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-top: 2vw;

      .prev {
        display: flex;
        align-items: center;
        width: 35%;
        .tz {
          display: flex;
          align-items: center;
        }

        p {
          color: #E60012;
          font-weight: 700;
          font-size: $fontSize_22;
          margin: 0 2vw 0 0.5vw;
        }

        a {
          color: #000;
          font-size: $fontSize_22;
          overflow: hidden;
          white-space: nowrap;
          text-overflow: ellipsis;
        }
      }

      .next {
        display: flex;
        align-items: center;
        width: 35%;
        justify-content: flex-end;
        .tz {
          display: flex;
          align-items: center;
        }

        p {
          color: #E60012;
          font-weight: 700;
          font-size: $fontSize_22;
          margin: 0 0.5vw 0 2vw;
        }

        a {
          color: #000;
          font-size: $fontSize_22;
        }
      }

      .back {
        a{
          border-radius: 74px;
          background: #000;
          display: flex;
          align-items: center;
          font-size: $fontSize_22;
          color:white;
          padding: 18px 40px;
          p{
            margin-left: 10px;
          }
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    .main{
      margin: 80px auto;
      width: 90%;
      .t{
        font-size: 16px;
        padding-bottom: 15px;
      }
      .content{
        width: 100%;
        margin: 15px 0;
        line-height: 1.5;
        p{
          font-size: 16px;
        }
      }
      .pager{
        flex-direction: column;
        .prev,.next{
          width: 100%;
          a{
            font-size: 12px;
          }
          p{
            font-size: 12px;
            margin: 0 10px;
          }
          .tz{
            svg{
              width: 10px;
            }
          }
        }
        .back{
          a{
            font-size: 16px;
          }
        }
      }
    }
  }
}